# 作者： 李泉志
# 2025年01月07日20时52分秒
# 2947029073@qq.com

# 2.多值参数练习，元组，字典的传参拆包练习
def func1(a, *args, **kwargs):
    print(f'func1:{a}')
    print(f'func1:{args}')
    print(f'func1:{kwargs}')
    func2(*args, **kwargs)
    func3(args, **kwargs)
    func4(*args, kwargs)
    func5(args, kwargs)


def func2(*args, **kwargs):
    print(f'func2:{args}')
    print(f'func2:{kwargs}')


def func3(*args, **kwargs):
    print(f'func3:{args}')
    print(f'func3:{kwargs}')


def func4(*args, **kwargs):
    print(f'func4:{args}')
    print(f'func4:{kwargs}')


def func5(*args, **kwargs):
    print(f'func5:{args}')
    print(f'func5:{kwargs}')


def func6(**kwargs):
    print(f'func6:{kwargs}')

def func7(*args):
    print(f'func7:{args}')


if __name__ == '__main__':
    func1(1, 2, 3, 4, 5, name='kevin', age=18)
    func6(name='kevin', age=18)
    func7(1, 2, 3, 4, 'name')
